package com.dragon.modules.yuegou.query.order;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.order.OrderShippingEntity;
import com.dragon.modules.yuegou.enums.order.OrderShippingStatus;
import com.dragon.modules.yuegou.enums.order.OrderShippingType;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单配送 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2020-03-26 15:08:00
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class OrderShippingQuery extends OrderShippingEntity implements Query<OrderShippingEntity> {

    /** 订单号查询条件 */
	@JsonUnwrapped(prefix = "orderNo")
	private Condition<String> orderNoCondition;

    /** 收货人全称查询条件 */
	@JsonUnwrapped(prefix = "receiverName")
	private Condition<String> receiverNameCondition;

    /** 收货人手机号查询条件 */
	@JsonUnwrapped(prefix = "receiverMobile")
	private Condition<String> receiverMobileCondition;

    /** 省份查询条件 */
	@JsonUnwrapped(prefix = "receiverProvince")
	private Condition<String> receiverProvinceCondition;

    /** 城市查询条件 */
	@JsonUnwrapped(prefix = "receiverCity")
	private Condition<String> receiverCityCondition;

    /** 区/县查询条件 */
	@JsonUnwrapped(prefix = "receiverDistrict")
	private Condition<String> receiverDistrictCondition;

    /** 详细地址查询条件 */
	@JsonUnwrapped(prefix = "receiverAddress")
	private Condition<String> receiverAddressCondition;

    /** 邮政编码查询条件 */
	@JsonUnwrapped(prefix = "receiverZip")
	private Condition<String> receiverZipCondition;

    /** 城市Code查询条件 */
	@JsonUnwrapped(prefix = "cityCode")
	private Condition<String> cityCodeCondition;

    /** 备注查询条件 */
	@JsonUnwrapped(prefix = "remark")
	private Condition<String> remarkCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 发货人查询条件 */
	@JsonUnwrapped(prefix = "shippingBy")
	private Condition<Long> shippingByCondition;

    /** 发货时间查询条件 */
	@JsonUnwrapped(prefix = "shippingTime")
	private Condition<LocalDateTime> shippingTimeCondition;

    /** 运费查询条件 */
	@JsonUnwrapped(prefix = "freight")
	private Condition<BigDecimal> freightCondition;

    /** [枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件 */
	@JsonUnwrapped(prefix = "type")
	private Condition<OrderShippingType> typeCondition;

    /** [枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件 */
	@JsonUnwrapped(prefix = "status")
	private Condition<OrderShippingStatus> statusCondition;

    /** 原因查询条件 */
	@JsonUnwrapped(prefix = "cause")
	private Condition<String> causeCondition;

    /** 骑手姓名查询条件 */
	@JsonUnwrapped(prefix = "transporterName")
	private Condition<String> transporterNameCondition;

    /** 骑手电话查询条件 */
	@JsonUnwrapped(prefix = "transporterPhone")
	private Condition<String> transporterPhoneCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public OrderShippingQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public OrderShippingQuery(OrderShippingEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public OrderShippingQuery(OrderShippingQuery other) {
		super(other);
		if(other.orderNoCondition != null) {
			this.orderNoCondition = other.orderNoCondition.copy();
		}
		if(other.receiverNameCondition != null) {
			this.receiverNameCondition = other.receiverNameCondition.copy();
		}
		if(other.receiverMobileCondition != null) {
			this.receiverMobileCondition = other.receiverMobileCondition.copy();
		}
		if(other.receiverProvinceCondition != null) {
			this.receiverProvinceCondition = other.receiverProvinceCondition.copy();
		}
		if(other.receiverCityCondition != null) {
			this.receiverCityCondition = other.receiverCityCondition.copy();
		}
		if(other.receiverDistrictCondition != null) {
			this.receiverDistrictCondition = other.receiverDistrictCondition.copy();
		}
		if(other.receiverAddressCondition != null) {
			this.receiverAddressCondition = other.receiverAddressCondition.copy();
		}
		if(other.receiverZipCondition != null) {
			this.receiverZipCondition = other.receiverZipCondition.copy();
		}
		if(other.cityCodeCondition != null) {
			this.cityCodeCondition = other.cityCodeCondition.copy();
		}
		if(other.remarkCondition != null) {
			this.remarkCondition = other.remarkCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if(other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		if(other.shippingByCondition != null) {
			this.shippingByCondition = other.shippingByCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(OrderShippingQuery other){
		if(other.shippingTimeCondition != null) {
			this.shippingTimeCondition = other.shippingTimeCondition.copy();
		}
		if(other.freightCondition != null) {
			this.freightCondition = other.freightCondition.copy();
		}
		if(other.typeCondition != null) {
			this.typeCondition = other.typeCondition.copy();
		}
		if(other.statusCondition != null) {
			this.statusCondition = other.statusCondition.copy();
		}
		if(other.causeCondition != null) {
			this.causeCondition = other.causeCondition.copy();
		}
		if(other.transporterNameCondition != null) {
			this.transporterNameCondition = other.transporterNameCondition.copy();
		}
		if(other.transporterPhoneCondition != null) {
			this.transporterPhoneCondition = other.transporterPhoneCondition.copy();
		}
	}

	@Override
	public QueryWrapper<OrderShippingEntity> toQueryWrapper() {
		QueryWrapper<OrderShippingEntity> wrapper = new QueryWrapper<>(this);
		if (orderNoCondition != null) {
			orderNoCondition.toWrapper(wrapper, COL_ORDER_NO);
		}
		if (receiverNameCondition != null) {
			receiverNameCondition.toWrapper(wrapper, COL_RECEIVER_NAME);
		}
		if (receiverMobileCondition != null) {
			receiverMobileCondition.toWrapper(wrapper, COL_RECEIVER_MOBILE);
		}
		if (receiverProvinceCondition != null) {
			receiverProvinceCondition.toWrapper(wrapper, COL_RECEIVER_PROVINCE);
		}
		if (receiverCityCondition != null) {
			receiverCityCondition.toWrapper(wrapper, COL_RECEIVER_CITY);
		}
		if (receiverDistrictCondition != null) {
			receiverDistrictCondition.toWrapper(wrapper, COL_RECEIVER_DISTRICT);
		}
		if (receiverAddressCondition != null) {
			receiverAddressCondition.toWrapper(wrapper, COL_RECEIVER_ADDRESS);
		}
		if (receiverZipCondition != null) {
			receiverZipCondition.toWrapper(wrapper, COL_RECEIVER_ZIP);
		}
		if (cityCodeCondition != null) {
			cityCodeCondition.toWrapper(wrapper, COL_CITY_CODE);
		}
		if (remarkCondition != null) {
			remarkCondition.toWrapper(wrapper, COL_REMARK);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		if (shippingByCondition != null) {
			shippingByCondition.toWrapper(wrapper, COL_SHIPPING_BY);
		}
		return getQueryWrapper(wrapper);
	}
	private QueryWrapper<OrderShippingEntity> getQueryWrapper(QueryWrapper<OrderShippingEntity> wrapper){
		if (shippingTimeCondition != null) {
			shippingTimeCondition.toWrapper(wrapper, COL_SHIPPING_TIME);
		}
		if (freightCondition != null) {
			freightCondition.toWrapper(wrapper, COL_FREIGHT);
		}
		if (typeCondition != null) {
			typeCondition.toWrapper(wrapper, COL_TYPE);
		}
		if (statusCondition != null) {
			statusCondition.toWrapper(wrapper, COL_STATUS);
		}
		if (causeCondition != null) {
			causeCondition.toWrapper(wrapper, COL_CAUSE);
		}
		if (transporterNameCondition != null) {
			transporterNameCondition.toWrapper(wrapper, COL_TRANSPORTER_NAME);
		}
		if (transporterPhoneCondition != null) {
			transporterPhoneCondition.toWrapper(wrapper, COL_TRANSPORTER_PHONE);
		}
		return wrapper;
	}

	/**
	 * 构造并返回订单号查询条件
	 * 
	 * @return orderNoCondition 订单号查询条件
	 */
	public Condition<String> orderNo() {
		this.orderNoCondition = new Condition<>();
		return this.orderNoCondition;
	}
	
	/**
	 * 获取订单号查询条件
	 * 
	 * @return orderNoCondition 订单号查询条件
	 */
	public Condition<String> getOrderNoCondition() {
		return orderNoCondition;
	}

	/**
	 * 设置订单号查询条件
	 * 
	 * @param orderNoCondition 订单号查询条件
	 */
	public void setOrderNoCondition(Condition<String> orderNoCondition) {
		this.orderNoCondition = orderNoCondition;
	}

	/**
	 * 构造并返回收货人全称查询条件
	 * 
	 * @return receiverNameCondition 收货人全称查询条件
	 */
	public Condition<String> receiverName() {
		this.receiverNameCondition = new Condition<>();
		return this.receiverNameCondition;
	}
	
	/**
	 * 获取收货人全称查询条件
	 * 
	 * @return receiverNameCondition 收货人全称查询条件
	 */
	public Condition<String> getReceiverNameCondition() {
		return receiverNameCondition;
	}

	/**
	 * 设置收货人全称查询条件
	 * 
	 * @param receiverNameCondition 收货人全称查询条件
	 */
	public void setReceiverNameCondition(Condition<String> receiverNameCondition) {
		this.receiverNameCondition = receiverNameCondition;
	}

	/**
	 * 构造并返回收货人手机号查询条件
	 * 
	 * @return receiverMobileCondition 收货人手机号查询条件
	 */
	public Condition<String> receiverMobile() {
		this.receiverMobileCondition = new Condition<>();
		return this.receiverMobileCondition;
	}
	
	/**
	 * 获取收货人手机号查询条件
	 * 
	 * @return receiverMobileCondition 收货人手机号查询条件
	 */
	public Condition<String> getReceiverMobileCondition() {
		return receiverMobileCondition;
	}

	/**
	 * 设置收货人手机号查询条件
	 * 
	 * @param receiverMobileCondition 收货人手机号查询条件
	 */
	public void setReceiverMobileCondition(Condition<String> receiverMobileCondition) {
		this.receiverMobileCondition = receiverMobileCondition;
	}

	/**
	 * 构造并返回省份查询条件
	 * 
	 * @return receiverProvinceCondition 省份查询条件
	 */
	public Condition<String> receiverProvince() {
		this.receiverProvinceCondition = new Condition<>();
		return this.receiverProvinceCondition;
	}
	
	/**
	 * 获取省份查询条件
	 * 
	 * @return receiverProvinceCondition 省份查询条件
	 */
	public Condition<String> getReceiverProvinceCondition() {
		return receiverProvinceCondition;
	}

	/**
	 * 设置省份查询条件
	 * 
	 * @param receiverProvinceCondition 省份查询条件
	 */
	public void setReceiverProvinceCondition(Condition<String> receiverProvinceCondition) {
		this.receiverProvinceCondition = receiverProvinceCondition;
	}

	/**
	 * 构造并返回城市查询条件
	 * 
	 * @return receiverCityCondition 城市查询条件
	 */
	public Condition<String> receiverCity() {
		this.receiverCityCondition = new Condition<>();
		return this.receiverCityCondition;
	}
	
	/**
	 * 获取城市查询条件
	 * 
	 * @return receiverCityCondition 城市查询条件
	 */
	public Condition<String> getReceiverCityCondition() {
		return receiverCityCondition;
	}

	/**
	 * 设置城市查询条件
	 * 
	 * @param receiverCityCondition 城市查询条件
	 */
	public void setReceiverCityCondition(Condition<String> receiverCityCondition) {
		this.receiverCityCondition = receiverCityCondition;
	}

	/**
	 * 构造并返回区/县查询条件
	 * 
	 * @return receiverDistrictCondition 区/县查询条件
	 */
	public Condition<String> receiverDistrict() {
		this.receiverDistrictCondition = new Condition<>();
		return this.receiverDistrictCondition;
	}
	
	/**
	 * 获取区/县查询条件
	 * 
	 * @return receiverDistrictCondition 区/县查询条件
	 */
	public Condition<String> getReceiverDistrictCondition() {
		return receiverDistrictCondition;
	}

	/**
	 * 设置区/县查询条件
	 * 
	 * @param receiverDistrictCondition 区/县查询条件
	 */
	public void setReceiverDistrictCondition(Condition<String> receiverDistrictCondition) {
		this.receiverDistrictCondition = receiverDistrictCondition;
	}

	/**
	 * 构造并返回详细地址查询条件
	 * 
	 * @return receiverAddressCondition 详细地址查询条件
	 */
	public Condition<String> receiverAddress() {
		this.receiverAddressCondition = new Condition<>();
		return this.receiverAddressCondition;
	}
	
	/**
	 * 获取详细地址查询条件
	 * 
	 * @return receiverAddressCondition 详细地址查询条件
	 */
	public Condition<String> getReceiverAddressCondition() {
		return receiverAddressCondition;
	}

	/**
	 * 设置详细地址查询条件
	 * 
	 * @param receiverAddressCondition 详细地址查询条件
	 */
	public void setReceiverAddressCondition(Condition<String> receiverAddressCondition) {
		this.receiverAddressCondition = receiverAddressCondition;
	}

	/**
	 * 构造并返回邮政编码查询条件
	 * 
	 * @return receiverZipCondition 邮政编码查询条件
	 */
	public Condition<String> receiverZip() {
		this.receiverZipCondition = new Condition<>();
		return this.receiverZipCondition;
	}
	
	/**
	 * 获取邮政编码查询条件
	 * 
	 * @return receiverZipCondition 邮政编码查询条件
	 */
	public Condition<String> getReceiverZipCondition() {
		return receiverZipCondition;
	}

	/**
	 * 设置邮政编码查询条件
	 * 
	 * @param receiverZipCondition 邮政编码查询条件
	 */
	public void setReceiverZipCondition(Condition<String> receiverZipCondition) {
		this.receiverZipCondition = receiverZipCondition;
	}

	/**
	 * 构造并返回城市Code查询条件
	 * 
	 * @return cityCodeCondition 城市Code查询条件
	 */
	public Condition<String> cityCode() {
		this.cityCodeCondition = new Condition<>();
		return this.cityCodeCondition;
	}
	
	/**
	 * 获取城市Code查询条件
	 * 
	 * @return cityCodeCondition 城市Code查询条件
	 */
	public Condition<String> getCityCodeCondition() {
		return cityCodeCondition;
	}

	/**
	 * 设置城市Code查询条件
	 * 
	 * @param cityCodeCondition 城市Code查询条件
	 */
	public void setCityCodeCondition(Condition<String> cityCodeCondition) {
		this.cityCodeCondition = cityCodeCondition;
	}

	/**
	 * 构造并返回备注查询条件
	 * 
	 * @return remarkCondition 备注查询条件
	 */
	public Condition<String> remark() {
		this.remarkCondition = new Condition<>();
		return this.remarkCondition;
	}
	
	/**
	 * 获取备注查询条件
	 * 
	 * @return remarkCondition 备注查询条件
	 */
	public Condition<String> getRemarkCondition() {
		return remarkCondition;
	}

	/**
	 * 设置备注查询条件
	 * 
	 * @param remarkCondition 备注查询条件
	 */
	public void setRemarkCondition(Condition<String> remarkCondition) {
		this.remarkCondition = remarkCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回发货人查询条件
	 * 
	 * @return shippingByCondition 发货人查询条件
	 */
	public Condition<Long> shippingBy() {
		this.shippingByCondition = new Condition<>();
		return this.shippingByCondition;
	}
	
	/**
	 * 获取发货人查询条件
	 * 
	 * @return shippingByCondition 发货人查询条件
	 */
	public Condition<Long> getShippingByCondition() {
		return shippingByCondition;
	}

	/**
	 * 设置发货人查询条件
	 * 
	 * @param shippingByCondition 发货人查询条件
	 */
	public void setShippingByCondition(Condition<Long> shippingByCondition) {
		this.shippingByCondition = shippingByCondition;
	}

	/**
	 * 构造并返回发货时间查询条件
	 * 
	 * @return shippingTimeCondition 发货时间查询条件
	 */
	public Condition<LocalDateTime> shippingTime() {
		this.shippingTimeCondition = new Condition<>();
		return this.shippingTimeCondition;
	}
	
	/**
	 * 获取发货时间查询条件
	 * 
	 * @return shippingTimeCondition 发货时间查询条件
	 */
	public Condition<LocalDateTime> getShippingTimeCondition() {
		return shippingTimeCondition;
	}

	/**
	 * 设置发货时间查询条件
	 * 
	 * @param shippingTimeCondition 发货时间查询条件
	 */
	public void setShippingTimeCondition(Condition<LocalDateTime> shippingTimeCondition) {
		this.shippingTimeCondition = shippingTimeCondition;
	}

	/**
	 * 构造并返回运费查询条件
	 * 
	 * @return freightCondition 运费查询条件
	 */
	public Condition<BigDecimal> freight() {
		this.freightCondition = new Condition<>();
		return this.freightCondition;
	}
	
	/**
	 * 获取运费查询条件
	 * 
	 * @return freightCondition 运费查询条件
	 */
	public Condition<BigDecimal> getFreightCondition() {
		return freightCondition;
	}

	/**
	 * 设置运费查询条件
	 * 
	 * @param freightCondition 运费查询条件
	 */
	public void setFreightCondition(Condition<BigDecimal> freightCondition) {
		this.freightCondition = freightCondition;
	}

	/**
	 * 构造并返回[枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 * 
	 * @return typeCondition [枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 */
	public Condition<OrderShippingType> type() {
		this.typeCondition = new Condition<>();
		return this.typeCondition;
	}
	
	/**
	 * 获取[枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 * 
	 * @return typeCondition [枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 */
	public Condition<OrderShippingType> getTypeCondition() {
		return typeCondition;
	}

	/**
	 * 设置[枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 * 
	 * @param typeCondition [枚举]配送类型：0-自主配送-AUTONOMY、1-达达配送-DADA查询条件
	 */
	public void setTypeCondition(Condition<OrderShippingType> typeCondition) {
		this.typeCondition = typeCondition;
	}

	/**
	 * 构造并返回[枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 * 
	 * @return statusCondition [枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 */
	public Condition<OrderShippingStatus> status() {
		this.statusCondition = new Condition<>();
		return this.statusCondition;
	}
	
	/**
	 * 获取[枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 * 
	 * @return statusCondition [枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 */
	public Condition<OrderShippingStatus> getStatusCondition() {
		return statusCondition;
	}

	/**
	 * 设置[枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 * 
	 * @param statusCondition [枚举]配送状态：0-未发货-NO_DELIVER、1-已发货未接单-DELIVER、2-已接单-ORDER、3-已取货-PICK_UP、4-已送达-DELIVERY、5-已收货-GOODS、6-骑手拒单-REFUSE查询条件
	 */
	public void setStatusCondition(Condition<OrderShippingStatus> statusCondition) {
		this.statusCondition = statusCondition;
	}

	/**
	 * 构造并返回原因查询条件
	 * 
	 * @return causeCondition 原因查询条件
	 */
	public Condition<String> cause() {
		this.causeCondition = new Condition<>();
		return this.causeCondition;
	}
	
	/**
	 * 获取原因查询条件
	 * 
	 * @return causeCondition 原因查询条件
	 */
	public Condition<String> getCauseCondition() {
		return causeCondition;
	}

	/**
	 * 设置原因查询条件
	 * 
	 * @param causeCondition 原因查询条件
	 */
	public void setCauseCondition(Condition<String> causeCondition) {
		this.causeCondition = causeCondition;
	}

	/**
	 * 构造并返回骑手姓名查询条件
	 * 
	 * @return transporterNameCondition 骑手姓名查询条件
	 */
	public Condition<String> transporterName() {
		this.transporterNameCondition = new Condition<>();
		return this.transporterNameCondition;
	}
	
	/**
	 * 获取骑手姓名查询条件
	 * 
	 * @return transporterNameCondition 骑手姓名查询条件
	 */
	public Condition<String> getTransporterNameCondition() {
		return transporterNameCondition;
	}

	/**
	 * 设置骑手姓名查询条件
	 * 
	 * @param transporterNameCondition 骑手姓名查询条件
	 */
	public void setTransporterNameCondition(Condition<String> transporterNameCondition) {
		this.transporterNameCondition = transporterNameCondition;
	}

	/**
	 * 构造并返回骑手电话查询条件
	 * 
	 * @return transporterPhoneCondition 骑手电话查询条件
	 */
	public Condition<String> transporterPhone() {
		this.transporterPhoneCondition = new Condition<>();
		return this.transporterPhoneCondition;
	}
	
	/**
	 * 获取骑手电话查询条件
	 * 
	 * @return transporterPhoneCondition 骑手电话查询条件
	 */
	public Condition<String> getTransporterPhoneCondition() {
		return transporterPhoneCondition;
	}

	/**
	 * 设置骑手电话查询条件
	 * 
	 * @param transporterPhoneCondition 骑手电话查询条件
	 */
	public void setTransporterPhoneCondition(Condition<String> transporterPhoneCondition) {
		this.transporterPhoneCondition = transporterPhoneCondition;
	}

}
